package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FlowChartMapper {
    int countByExample(FlowChartExample example);

    int deleteByExample(FlowChartExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(FlowChart record);

    int insertSelective(FlowChart record);

    List<FlowChart> selectByExample(FlowChartExample example);

    FlowChart selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") FlowChart record, @Param("example") FlowChartExample example);

    int updateByExample(@Param("record") FlowChart record, @Param("example") FlowChartExample example);

    int updateByPrimaryKeySelective(FlowChart record);

    int updateByPrimaryKey(FlowChart record);

    List<FlowChart> selectFileDataList(FlowChartMenus fileData);
    List<FlowChart> selectlistAfterList(FlowChartMenus fileData);
    List<FlowChart> selectlistTemporaryStorage(FlowChartMenus fileData);

    void updatefinish(@Param("id") Long id);

    FlowChartVm getFlowCharId(@Param("id") Long id);

    int updateNotifyPerson(@Param("flowchart") FlowChart flowchart);

    void insertFlowChartVm(FlowChart flowCharId);

    FlowChart getFlowCharIdObj(@Param("id") Long id);

    FlowChartNode getflowChartNode(@Param("pid") int pid,@Param("nodesId") String nodesId);
}